
<h2>Announcements</h2>
<p>
   <ul class="data_list" id ='announcement_list'>
      <%= render :partial => "list_item", :collection => @announcements %>
   </ul>
</p>
<p/>

<h2>
   <span style="float: right;">
      <%= button_for "Previous Page", "left", { :page => @announcements.previous_page } if @announcements.previous_page %>
      <%= button_for "Next Page", "right", { :page => @announcements.next_page } if @announcements.next_page %>
   </span>
   <%= button_for "Announce Something New", "add", { :action => 'new' } %>
</h2>